//
//  BaseViewController.h
//  ChatForHot
//
//  Created by FLY on 2018/10/8.
//  Copyright © 2018年 FLY. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"
NS_ASSUME_NONNULL_BEGIN

@interface BaseViewController : UIViewController

@property (nonatomic,assign) BOOL isHiddenNav;

@property(nonatomic, assign, readonly) CGFloat navigationBarMaxYInViewCoordinator;
@property(nonatomic, assign, readonly) CGFloat tabBarSpacingInViewCoordinator;
@property(nonatomic, assign, readonly) CGFloat toolbarSpacingInViewCoordinator;
//lodingimg
- (void)HOTCHATstartLoading;
- (void)HOTCHATstopLoading;

- (void)HOTCHATstartLoadingInView:(UIView *)view;
//backAction
- (void)HOTCHATbackClcik;
//ui method
- (void)HOTCHATInsertSubViews;
//showMessage
- (void)HOTCHATshowMessage:(NSString *)message;

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
- (void)HOTCHATdidInitialized NS_REQUIRES_SUPER;
- (void)HOTCHATsetNavigationItemsIsInEditMode:(BOOL)isInEditMode animated:(BOOL)animated NS_REQUIRES_SUPER;
@end

NS_ASSUME_NONNULL_END
